package com.newtouch.avmarketing.mgr.modules.avmarkrting.service.impl;

import com.newtouch.avmarketing.mgr.modules.avmarkrting.entity.SaleChannel;
import com.newtouch.avmarketing.mgr.modules.avmarkrting.repo.SaleChannelRepo;
import com.newtouch.avmarketing.mgr.modules.avmarkrting.service.SaleChannelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SaleChannelServiceImpl implements SaleChannelService {

    @Autowired
    private SaleChannelRepo saleChannelRepo;

    @Override
    public List<SaleChannel> findAllChannel() {
        return saleChannelRepo.findAll();
    }
}
